package com.inspector.app.di.vo.event;

import android.location.Location;

import androidx.annotation.Nullable;

/**
 * @author zlq
 * @date 2020/9/21
 * @description
 */
public class EventLocationChanged {
    private Location location;
    public EventLocationChanged(Location location) {
        this.location = location;
    }

    @Nullable
    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    @Override
    public String toString() {
        return "EventLocationChanged{" +
                "location=" + location.getLongitude() +","+location.getLatitude()+
                '}';
    }
}
